import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
df = pd.read_csv("al2-1.csv")
# 箱形图
# plt.show(df.plot(kind='box'))
# 条形图
# plt.show(df.plot(kind='bar'))
# 横向条形图
# plt.show(df.plot(kind='barh'))
# 柱状图
# plt.show(df.plot(kind='hist'))
# 概率密度图
# plt.show(df.plot(kind='kde'))
# plt.show(df.plot(kind='area'))
# plt.show(df.plot(kind='hexbin', x='month', y='lgoldf'))
# 饼图
# plt.show(df.plot(kind='pie', x='month', y='lgoldf'))
# 散点图
# plt.show(df.plot(kind='scatter', x='month', y='lgoldf'))

# plt.show(df.plot(kind='box'))
plt.show(sns.boxplot(data=df))